<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr = ['张学友', '刘德华', '郭富城', '黎明']
        console.log('@@@arr', arr)
        console.log(arr[0]);
        for (let i = 0; i < arr.length; i++) {
            console.log(i + '=' + arr[i])
        }
        console.log(arr.length)
    </script>
</body>
</html>